//
//  PPImageCompressHelper.h
//  pickpic
//
//  Created by GaoYongyue on 16/9/7.
//  Copyright © 2016年 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface PPImageCompressHelper : NSObject

//压缩至屏幕大小
+ (UIImage *)resizedImageWithImage:(UIImage *)image;

//压缩至inSize大小
+ (UIImage *)resizedImageWithImage:(UIImage *)image
                        withinSize:(CGSize)inSize;

+ (NSData *)compressedDataWithImage:(UIImage *)image;
+ (NSData *)compressedDataWithImage:(UIImage *)image
                         withinSize:(CGSize)inSize;

@end
